<template>
	<div>
		<BMap :m="giveData"></BMap>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				giveData: { //vue2.0将数据定位对象的形式，实现父子组件的通信
					height: 300,
					longitude: 120.695102,
					latitude: 31.183862
				}
			}
		},
		methods: {

		},
		created() {
		}
	}
</script>

<style>

</style>